package com.eunion.web.cms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eunion.web.cms.entity.University;
import com.eunion.web.cms.repository.UniversityRepository;
import com.eunion.web.cms.service.UniversityService;
import com.eunion.web.common.base.BaseRepository;
import com.eunion.web.common.base.impl.BaseServiceImpl;

@Service(value = "universityService")
@Transactional
public class UniversityServiceImpl extends BaseServiceImpl<University, Long> implements UniversityService {

    @Autowired
    private UniversityRepository universityRepository;

    @Override
    public BaseRepository<University, Long> geBaseRepository() {
        return universityRepository;
    }

}
